﻿/*******************************************************************************
 * Copyright © 2017 FriendStar.Framework 版权所有
 * Author: FZH
 * Description: FriendStar快速开发平台
 * Website：http://www.FriendStar.cn
*********************************************************************************/
using System;
using SqlSugar;

namespace FriendStar.Domain.Entity.BOM
{
    /// <summary>
	/// 数据视图 V_ZSJ_21_RQ_DatContainer 对应的数据实体类，数据表描述：
	/// </summary>
    [Serializable]
    [SugarMapping(TableName = "V_ZSJ_21_RQ_DatContainer")]
	public partial class V_ZSJ_21_RQ_DatContainerEntity
    {
        ///<summary>
		///
		///</summary>
        public string FContainerID { get; set; } 
        ///<summary>
		///
		///</summary>
        public string UseUnit { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FContainerNO { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FContainerName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FLayerCount { get; set; } 
        ///<summary>
		///
		///</summary>
        public string OutlineSize { get; set; } 
        ///<summary>
		///
		///</summary>
        public string InnerSize { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FContainerWeight { get; set; } 
        ///<summary>
		///
		///</summary>
        public string ProductDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FContainerTypeNO { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FContainerTypeName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string Fdesc { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? FContainerSum { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FCreateBy { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FCreateDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FCreateTime { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FUpdateBy { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FUpdateDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FUpdateTime { get; set; }



        public string OutlineSize1 
        { 
            get 
            {
                if(string.IsNullOrEmpty(OutlineSize))
                {
                    return "";
                }
                string[] array = OutlineSize.Split('x');
                if(array.Length > 0)
                {
                    return array[0];
                }
                else
                {
                    return "";
                }
            } 
        }

        public string OutlineSize2
        {
            get
            {
                if (string.IsNullOrEmpty(OutlineSize))
                {
                    return "";
                }
                string[] array = OutlineSize.Split('x');
                if (array.Length > 1)
                {
                    return array[1];
                }
                else
                {
                    return "";
                }
            }
        }

        public string OutlineSize3
        {
            get
            {
                if (string.IsNullOrEmpty(OutlineSize))
                {
                    return "";
                }
                string[] array = OutlineSize.Split('x');
                if (array.Length > 2)
                {
                    return array[2];
                }
                else
                {
                    return "";
                }
            }
        }

        public string InnerSize1 
        { 
            get 
            {
                if (string.IsNullOrEmpty(InnerSize))
                {
                    return "";
                }
                string[] array = InnerSize.Split('x');
                if(array.Length > 0)
                {
                    return array[0];
                }
                else
                {
                    return "";
                }
            } 
        }

        public string InnerSize2
        {
            get
            {
                if (string.IsNullOrEmpty(InnerSize))
                {
                    return "";
                }
                string[] array = InnerSize.Split('x');
                if (array.Length > 1)
                {
                    return array[1];
                }
                else
                {
                    return "";
                }
            }
        }

        public string InnerSize3
        {
            get
            {
                if (string.IsNullOrEmpty(InnerSize))
                {
                    return "";
                }
                string[] array = InnerSize.Split('x');
                if (array.Length > 2)
                {
                    return array[2];
                }
                else
                {
                    return "";
                }
            }
        }

    }
}